import http from "@/utils/request"

export default {
	getProviderTypeList: {
		method: `serviceProvider.serviceProvider.getProviderType`,
		name: "获取服务商类型",
		get: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	index: {
		method: `serviceProvider.serviceProvider.index`,
		name: "服务商列表",
		get: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	store: {
		method: `serviceProvider.serviceProvider.store`,
		name: "保存服务商",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	changeStatus: {
		method: `serviceProvider.serviceProvider.changeStatus`,
		name: "改变服务商状态",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	getProviderList: {
		method: `serviceProvider.serviceProvider.getProviderList`,
		name: "获取服务商",
		get: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	productStore: {
		method: `serviceProvider.serviceProviderProduct.store`,
		name: "保存服务商",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	productIndex: {
		method: `serviceProvider.serviceProviderProduct.index`,
		name: "服务商商品列表",
		get: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	productSelect: {
		method: `serviceProvider.serviceProviderProduct.getSelect`,
		name: "服务商商品选择列表",
		get: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	changeProductStatus: {
		method: `serviceProvider.serviceProviderProduct.changeStatus`,
		name: "改变服务商商品状态",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
}
